package com.tmsps.ne4weixin.bean.message.custom;

import com.tmsps.ne4weixin.bean.message.custom.vo.Video;
import com.tmsps.ne4weixin.config.enumeration.MsgTypeEnum;

import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * @Title: VideoMessage.java
 * @Package: com.tmsps.ne4weixin.bean.custom
 * @Description: 客服消息-发送视频消息
 * @author: hanjiefei
 * @date: 2019-10-18
 * @version V1.0
 * @Copyright: 2019 
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class VideoMessage extends BaseMessage {

	/**
	 * 视频消息内容
	 */
	private Video video;
	 
	public VideoMessage(String touser) {
		super(touser, MsgTypeEnum.VIDEO);
	}
	
	public VideoMessage(String touser, String mediaId) {
		super(touser, MsgTypeEnum.VIDEO);
		this.video = new Video(mediaId);
	}

	public VideoMessage(String touser, String mediaId, String thumb_media_id) {
		super(touser, MsgTypeEnum.VIDEO);
		this.video = new Video(mediaId, thumb_media_id);
	}
	
	public VideoMessage(String touser,Video video) {
		super(touser, MsgTypeEnum.VIDEO);
		this.video = video;
	}
}
